<div>
  <h2>Archive for <%= @date_range %></h2>
  <% @posts.each do |post| %>
  <div class="post">
    <div class="post_title">
      <h2><%= link_to post.title, "#{blog_post_path(post)}"  %></h2>
      <span class='date_tab'><%= post.created_at.to_s(:short) %></span>
    </div>
    <div class="post_inner">
      <%= simple_format(post.body) %>
    </div>
    <div class="meta">
      <%= link_to image_tag("icon_comment.gif"), "#{blog_post_path(post)}#comments" %>
      <%= link_to pluralize(post.comments.size, 'comment'), "#{blog_post_path(post)}#comments" %>
    </div>
  </div>
  <% end %>
</div>
